ul li {
    margin: 15px;
}
.gdr {
    position: absolute;
    right: 15%;
    font-weight: 600;
    color: #fff;
    width: 45px;
    text-align: center;
    border-radius: 4px;
}

.wd {
    background-color: red;
}

.ud {
    background-color: grey;
}

.id {
    background-color: blue;
}

.do {
    background-color: green;
}